# 存储共用代码
#  使用过滤器,过滤颜色提示

from flask import session, current_app, g


def index_class(index):
    if index == 1:
        return "first"
    elif index == 2:
        return "second"
    elif index == 3:
        return "third"
    else:
        return ""